<?php

return [
    'title_required' => '名称为必填项',
    'title_unique' => '名称已经被占用',
    'title_max' => '名称太长',
    'code_required' => '编号为必填项',
    'code_unique' => '编号已经被占用',
    'code_max' => '编号太长',
    'description_max' => '描述太长',
    'rank_numeric' => '显示顺序必须为数字',
    'state_required' => '是否有效为必填项',
    'state_in' => '是否有效必须为有效或无效',
    'charged_by_exists' => '负责人不存在',
    'province'  => [
        'region_id_required' => '大区为必填项',
        'region_id_exists' => '大区不存在',
        'title_already_exists' => '同一大区下名称已存在',
    ],
    'dictionary_members' => [
        'dictionary_id_required' => '字典为必填项',
        'dictionary_id_exists' => '字典不存在',
        'title_already_exists' => '同一字典下名称已存在',
        'parent_id_numeric' => '父级必须是数字',
        'parent_not_exists' => '父级不存在',
        'not_set_self_to_parent' => '成员父级不能为自身',
        'not_set_self_child_to_parent' => '上级成员不能是下级成员的子成员',
    ],
];